package com.ryoma.service.impl;

import com.ryoma.mapper.development.UserMapper;
import com.ryoma.model.User;
import com.ryoma.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service(value = "userServiceImpl")
public class UserServiceImpl  implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User get(String id) {
        return null;
    }

    @Override
    public User get(User user) {
        return null;
    }

    @Override
    public List<User> queryUserList(User user) {
        List<User> list = new ArrayList<User>();
        list = userMapper.queryUserList(user);
        return list;
    }
}
